# -*- coding: utf-8 -*-

from w.blocks.block import BaseBlock as Block
from w.blocks.containers.table import Table as TableContainer

class Error(Exception):
    pass

class Table(TableContainer, Block):
    scriptFiles = ['w/blocks/table.js']

    def __init__(self, *argv, **kwargv):
        TableContainer.__init__(self, hid='dom%s'%self.blockID,*argv, **kwargv)
        Block.__init__(self, *argv, **kwargv)

    def make(self):
        return Block.make(self, TableContainer.make(self))

